<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibQQt: QCPScatterStyle Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibQQt
   &#160;<span id="projectnumber">v3.1</span>
   </div>
   <div id="projectbrief">开源、跨平台Qt应用程序框架中间件</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="class_q_c_p_scatter_style-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">QCPScatterStyle Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Represents the visual appearance of scatter points.  
 <a href="class_q_c_p_scatter_style.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:adb31525af6b680e6f1b7472e43859349"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349">ScatterShape</a> { <br />
&#160;&#160;<a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349abd144c291ca274f77053ec68cab6c022">ssNone</a>, 
<a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a06e15a735b79093a1d999c0374fa3aa1">ssDot</a>, 
<a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a9eacd60f059dc3ef71bf249f515a6fe4">ssCross</a>, 
<a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a2d7f1d3c1a148b9d9d17f2fd9cae5eb7">ssPlus</a>, 
<br />
&#160;&#160;<a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a7c92a110880d0ef2170dff3a5b4f7779">ssCircle</a>, 
<a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a281fe1434696dcbab3aa6b9ccfbb09e9">ssDisc</a>, 
<a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a279e48703ddc9f1cf4a61d3e2817ab3c">ssSquare</a>, 
<a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a4fc5929df1b2dad0a3cb2ef2c8b6e633">ssDiamond</a>, 
<br />
&#160;&#160;<a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a6047a2d64e41f1d6ce54445d595d442f">ssStar</a>, 
<a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a74a8d4eff1d97b57c53a60d0003453c3">ssTriangle</a>, 
<a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a6156274d21d8b4115197567d3ea2d9a8">ssTriangleInverted</a>, 
<a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a7081310936c200c6c78e34c172f72d07">ssCrossSquare</a>, 
<br />
&#160;&#160;<a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a5aa8e9db545e5404482fec774768ee25">ssPlusSquare</a>, 
<a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a524613ba5d1c4eaa1541d74cf339d283">ssCrossCircle</a>, 
<a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a6fa151d01f1694c9ff9922da686dc535">ssPlusCircle</a>, 
<a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349ada3b2988ece38c121922a4b5007eb08d">ssPeace</a>, 
<br />
&#160;&#160;<a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a8718b849ca7c307b07b8e091efb0c31e">ssPixmap</a>, 
<a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a15d9bcfd9de94edda949006529f9219d">ssCustom</a>
<br />
 }</td></tr>
<tr class="separator:adb31525af6b680e6f1b7472e43859349"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a8836018d9ad83ccd8870de8315c1be73"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_scatter_style.html#a8836018d9ad83ccd8870de8315c1be73">QCPScatterStyle</a> ()</td></tr>
<tr class="separator:a8836018d9ad83ccd8870de8315c1be73"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a003d92f74f4561eda111862eadd62f28"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_scatter_style.html#a003d92f74f4561eda111862eadd62f28">QCPScatterStyle</a> (<a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349">ScatterShape</a> shape, double size=6)</td></tr>
<tr class="separator:a003d92f74f4561eda111862eadd62f28"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa059da858c864c7e05871dc602d7eab"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_scatter_style.html#afa059da858c864c7e05871dc602d7eab">QCPScatterStyle</a> (<a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349">ScatterShape</a> shape, const QColor &amp;color, double size)</td></tr>
<tr class="separator:afa059da858c864c7e05871dc602d7eab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e1b64f12cac7f07af180ae4316fd38d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_scatter_style.html#a6e1b64f12cac7f07af180ae4316fd38d">QCPScatterStyle</a> (<a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349">ScatterShape</a> shape, const QColor &amp;color, const QColor &amp;fill, double size)</td></tr>
<tr class="separator:a6e1b64f12cac7f07af180ae4316fd38d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85acc4941d7e5c9bca5fa51377a77f49"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_scatter_style.html#a85acc4941d7e5c9bca5fa51377a77f49">QCPScatterStyle</a> (<a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349">ScatterShape</a> shape, const QPen &amp;pen, const QBrush &amp;brush, double size)</td></tr>
<tr class="separator:a85acc4941d7e5c9bca5fa51377a77f49"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63962094587a4c2258435aa7933996cc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_scatter_style.html#a63962094587a4c2258435aa7933996cc">QCPScatterStyle</a> (const QPixmap &amp;pixmap)</td></tr>
<tr class="separator:a63962094587a4c2258435aa7933996cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a879c30647683b3cfbde2afecea815e6f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_scatter_style.html#a879c30647683b3cfbde2afecea815e6f">QCPScatterStyle</a> (const QPainterPath &amp;customPath, const QPen &amp;pen, const QBrush &amp;brush=Qt::NoBrush, double size=6)</td></tr>
<tr class="separator:a879c30647683b3cfbde2afecea815e6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e94526d9165d9f50e262102bdd71a47"><td class="memItemLeft" align="right" valign="top"><a id="a0e94526d9165d9f50e262102bdd71a47"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>size</b> () const</td></tr>
<tr class="separator:a0e94526d9165d9f50e262102bdd71a47"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af04cad55bd7f58a96da4fc6bc46a0a1e"><td class="memItemLeft" align="right" valign="top"><a id="af04cad55bd7f58a96da4fc6bc46a0a1e"></a>
<a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349">ScatterShape</a>&#160;</td><td class="memItemRight" valign="bottom"><b>shape</b> () const</td></tr>
<tr class="separator:af04cad55bd7f58a96da4fc6bc46a0a1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acdd6313d16e69d3810e9d1f48dd9e4bb"><td class="memItemLeft" align="right" valign="top"><a id="acdd6313d16e69d3810e9d1f48dd9e4bb"></a>
QPen&#160;</td><td class="memItemRight" valign="bottom"><b>pen</b> () const</td></tr>
<tr class="separator:acdd6313d16e69d3810e9d1f48dd9e4bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc4f66aed84f1d7a3a5aabf4f48f31a6"><td class="memItemLeft" align="right" valign="top"><a id="adc4f66aed84f1d7a3a5aabf4f48f31a6"></a>
QBrush&#160;</td><td class="memItemRight" valign="bottom"><b>brush</b> () const</td></tr>
<tr class="separator:adc4f66aed84f1d7a3a5aabf4f48f31a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b2d1a2ec0aac0c74f7582d14050e93a"><td class="memItemLeft" align="right" valign="top"><a id="a9b2d1a2ec0aac0c74f7582d14050e93a"></a>
QPixmap&#160;</td><td class="memItemRight" valign="bottom"><b>pixmap</b> () const</td></tr>
<tr class="separator:a9b2d1a2ec0aac0c74f7582d14050e93a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef1fac84c9830fd97f2a8568e605e372"><td class="memItemLeft" align="right" valign="top"><a id="aef1fac84c9830fd97f2a8568e605e372"></a>
QPainterPath&#160;</td><td class="memItemRight" valign="bottom"><b>customPath</b> () const</td></tr>
<tr class="separator:aef1fac84c9830fd97f2a8568e605e372"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaefdd031052892c4136129db68596e0f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_scatter_style.html#aaefdd031052892c4136129db68596e0f">setSize</a> (double size)</td></tr>
<tr class="separator:aaefdd031052892c4136129db68596e0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c641c4d4c6d29cb705d3887cfce91c1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_scatter_style.html#a7c641c4d4c6d29cb705d3887cfce91c1">setShape</a> (<a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349">ScatterShape</a> shape)</td></tr>
<tr class="separator:a7c641c4d4c6d29cb705d3887cfce91c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a761f1f229cc0ca4703e1e2b89f6dd1ba"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_scatter_style.html#a761f1f229cc0ca4703e1e2b89f6dd1ba">setPen</a> (const QPen &amp;pen)</td></tr>
<tr class="separator:a761f1f229cc0ca4703e1e2b89f6dd1ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a74d692aaeb8d4b36d6f7d510e44264b1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_scatter_style.html#a74d692aaeb8d4b36d6f7d510e44264b1">setBrush</a> (const QBrush &amp;brush)</td></tr>
<tr class="separator:a74d692aaeb8d4b36d6f7d510e44264b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5fb611d46acfac520d7b89a1c71d9246"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_scatter_style.html#a5fb611d46acfac520d7b89a1c71d9246">setPixmap</a> (const QPixmap &amp;pixmap)</td></tr>
<tr class="separator:a5fb611d46acfac520d7b89a1c71d9246"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96a3e949f90b2afe5677ca9412a12a1e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_scatter_style.html#a96a3e949f90b2afe5677ca9412a12a1e">setCustomPath</a> (const QPainterPath &amp;customPath)</td></tr>
<tr class="separator:a96a3e949f90b2afe5677ca9412a12a1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72db6bcb1e1abd6e53c1315dd3dea7e4"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_scatter_style.html#a72db6bcb1e1abd6e53c1315dd3dea7e4">isNone</a> () const</td></tr>
<tr class="separator:a72db6bcb1e1abd6e53c1315dd3dea7e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47077eb6450fe9a788f833e4ec1b1d5a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_scatter_style.html#a47077eb6450fe9a788f833e4ec1b1d5a">isPenDefined</a> () const</td></tr>
<tr class="separator:a47077eb6450fe9a788f833e4ec1b1d5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd8044ece445300499ca0dc164821e0f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_scatter_style.html#afd8044ece445300499ca0dc164821e0f">applyTo</a> (<a class="el" href="class_q_c_p_painter.html">QCPPainter</a> *painter, const QPen &amp;defaultPen) const</td></tr>
<tr class="separator:afd8044ece445300499ca0dc164821e0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b3964961b6cbfbc87be6e1e3a6f3c96"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_scatter_style.html#a2b3964961b6cbfbc87be6e1e3a6f3c96">drawShape</a> (<a class="el" href="class_q_c_p_painter.html">QCPPainter</a> *painter, QPointF pos) const</td></tr>
<tr class="separator:a2b3964961b6cbfbc87be6e1e3a6f3c96"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95c297b114c77c22428ef40f54620ddf"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_scatter_style.html#a95c297b114c77c22428ef40f54620ddf">drawShape</a> (<a class="el" href="class_q_c_p_painter.html">QCPPainter</a> *painter, double x, double y) const</td></tr>
<tr class="separator:a95c297b114c77c22428ef40f54620ddf"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a757da98671eb06b221979373ac2cec91"><td class="memItemLeft" align="right" valign="top"><a id="a757da98671eb06b221979373ac2cec91"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>mSize</b></td></tr>
<tr class="separator:a757da98671eb06b221979373ac2cec91"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1b327f35f107ed108290187bbc8c7c6"><td class="memItemLeft" align="right" valign="top"><a id="af1b327f35f107ed108290187bbc8c7c6"></a>
<a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349">ScatterShape</a>&#160;</td><td class="memItemRight" valign="bottom"><b>mShape</b></td></tr>
<tr class="separator:af1b327f35f107ed108290187bbc8c7c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f6a85e6d1e3ae1ca1b6efb4d4cdfe17"><td class="memItemLeft" align="right" valign="top"><a id="a0f6a85e6d1e3ae1ca1b6efb4d4cdfe17"></a>
QPen&#160;</td><td class="memItemRight" valign="bottom"><b>mPen</b></td></tr>
<tr class="separator:a0f6a85e6d1e3ae1ca1b6efb4d4cdfe17"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b9c6ab10aebcaf236f1f45d1d6d64d1"><td class="memItemLeft" align="right" valign="top"><a id="a1b9c6ab10aebcaf236f1f45d1d6d64d1"></a>
QBrush&#160;</td><td class="memItemRight" valign="bottom"><b>mBrush</b></td></tr>
<tr class="separator:a1b9c6ab10aebcaf236f1f45d1d6d64d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7697346c89b19d4cd1d8dd33319ec9e3"><td class="memItemLeft" align="right" valign="top"><a id="a7697346c89b19d4cd1d8dd33319ec9e3"></a>
QPixmap&#160;</td><td class="memItemRight" valign="bottom"><b>mPixmap</b></td></tr>
<tr class="separator:a7697346c89b19d4cd1d8dd33319ec9e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a813cb074744dc5a2f59cc99d6a10c6f0"><td class="memItemLeft" align="right" valign="top"><a id="a813cb074744dc5a2f59cc99d6a10c6f0"></a>
QPainterPath&#160;</td><td class="memItemRight" valign="bottom"><b>mCustomPath</b></td></tr>
<tr class="separator:a813cb074744dc5a2f59cc99d6a10c6f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a84ef5aa591ddba07b440f597e1669e78"><td class="memItemLeft" align="right" valign="top"><a id="a84ef5aa591ddba07b440f597e1669e78"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>mPenDefined</b></td></tr>
<tr class="separator:a84ef5aa591ddba07b440f597e1669e78"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Represents the visual appearance of scatter points. </p>
<p>This class holds information about shape, color and size of scatter points. In plottables like <a class="el" href="class_q_c_p_graph.html" title="A plottable representing a graph in a plot. ">QCPGraph</a> it is used to store how scatter points shall be drawn. For example, <a class="el" href="class_q_c_p_graph.html#a12bd17a8ba21983163ec5d8f42a9fea5">QCPGraph::setScatterStyle</a> takes a <a class="el" href="class_q_c_p_scatter_style.html" title="Represents the visual appearance of scatter points. ">QCPScatterStyle</a> instance.</p>
<p>A scatter style consists of a shape (<a class="el" href="class_q_c_p_scatter_style.html#a7c641c4d4c6d29cb705d3887cfce91c1">setShape</a>), a line color (<a class="el" href="class_q_c_p_scatter_style.html#a761f1f229cc0ca4703e1e2b89f6dd1ba">setPen</a>) and possibly a fill (<a class="el" href="class_q_c_p_scatter_style.html#a74d692aaeb8d4b36d6f7d510e44264b1">setBrush</a>), if the shape provides a fillable area. Further, the size of the shape can be controlled with <a class="el" href="class_q_c_p_scatter_style.html#aaefdd031052892c4136129db68596e0f">setSize</a>.</p>
<h1><a class="anchor" id="QCPScatterStyle-defining"></a>
Specifying a scatter style</h1>
<p>You can set all these configurations either by calling the respective functions on an instance: </p><div class="fragment"></div><!-- fragment --><p> Or you can use one of the various constructors that take different parameter combinations, making it easy to specify a scatter style in a single call, like so: </p><div class="fragment"></div><!-- fragment --> <h1><a class="anchor" id="QCPScatterStyle-undefinedpen"></a>
Leaving the color/pen up to the plottable</h1>
<p>There are two constructors which leave the pen undefined: <a class="el" href="class_q_c_p_scatter_style.html#a8836018d9ad83ccd8870de8315c1be73">QCPScatterStyle()</a> and <a class="el" href="class_q_c_p_scatter_style.html#a003d92f74f4561eda111862eadd62f28">QCPScatterStyle(ScatterShape shape, double size)</a>. If those constructors are used, a call to <a class="el" href="class_q_c_p_scatter_style.html#a47077eb6450fe9a788f833e4ec1b1d5a">isPenDefined</a> will return false. It leads to scatter points that inherit the pen from the plottable that uses the scatter style. Thus, if such a scatter style is passed to <a class="el" href="class_q_c_p_graph.html" title="A plottable representing a graph in a plot. ">QCPGraph</a>, the line color of the graph (<a class="el" href="class_q_c_p_abstract_plottable.html#ab74b09ae4c0e7e13142fe4b5bf46cac7">QCPGraph::setPen</a>) will be used by the scatter points. This makes it very convenient to set up typical scatter settings:</p>
<div class="fragment"></div><!-- fragment --><p> Notice that it wasn't even necessary to explicitly call a <a class="el" href="class_q_c_p_scatter_style.html" title="Represents the visual appearance of scatter points. ">QCPScatterStyle</a> constructor. This works because <a class="el" href="class_q_c_p_scatter_style.html" title="Represents the visual appearance of scatter points. ">QCPScatterStyle</a> provides a constructor that can transform a <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349">ScatterShape</a> directly into a <a class="el" href="class_q_c_p_scatter_style.html" title="Represents the visual appearance of scatter points. ">QCPScatterStyle</a> instance (that's the <a class="el" href="class_q_c_p_scatter_style.html#a003d92f74f4561eda111862eadd62f28">QCPScatterStyle(ScatterShape shape, double size)</a> constructor with a default for <em>size</em>). In those cases, C++ allows directly supplying a <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349">ScatterShape</a>, where actually a <a class="el" href="class_q_c_p_scatter_style.html" title="Represents the visual appearance of scatter points. ">QCPScatterStyle</a> is expected.</p>
<h1><a class="anchor" id="QCPScatterStyle-custompath-and-pixmap"></a>
Custom shapes and pixmaps</h1>
<p><a class="el" href="class_q_c_p_scatter_style.html" title="Represents the visual appearance of scatter points. ">QCPScatterStyle</a> supports drawing custom shapes and arbitrary pixmaps as scatter points.</p>
<p>For custom shapes, you can provide a QPainterPath with the desired shape to the <a class="el" href="class_q_c_p_scatter_style.html#a96a3e949f90b2afe5677ca9412a12a1e">setCustomPath</a> function or call the constructor that takes a painter path. The scatter shape will automatically be set to <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a15d9bcfd9de94edda949006529f9219d">ssCustom</a>.</p>
<p>For pixmaps, you call <a class="el" href="class_q_c_p_scatter_style.html#a5fb611d46acfac520d7b89a1c71d9246">setPixmap</a> with the desired QPixmap. Alternatively you can use the constructor that takes a QPixmap. The scatter shape will automatically be set to <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a8718b849ca7c307b07b8e091efb0c31e">ssPixmap</a>. Note that <a class="el" href="class_q_c_p_scatter_style.html#aaefdd031052892c4136129db68596e0f">setSize</a> does not influence the appearance of the pixmap. </p>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a id="adb31525af6b680e6f1b7472e43859349"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adb31525af6b680e6f1b7472e43859349">&#9670;&nbsp;</a></span>ScatterShape</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349">QCPScatterStyle::ScatterShape</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Defines the shape used for scatter points.</p>
<p>On plottables/items that draw scatters, the sizes of these visualizations (with exception of <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a06e15a735b79093a1d999c0374fa3aa1">ssDot</a> and <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a8718b849ca7c307b07b8e091efb0c31e">ssPixmap</a>) can be controlled with the <a class="el" href="class_q_c_p_scatter_style.html#aaefdd031052892c4136129db68596e0f">setSize</a> function. Scatters are drawn with the pen and brush specified with <a class="el" href="class_q_c_p_scatter_style.html#a761f1f229cc0ca4703e1e2b89f6dd1ba">setPen</a> and <a class="el" href="class_q_c_p_scatter_style.html#a74d692aaeb8d4b36d6f7d510e44264b1">setBrush</a>. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="adb31525af6b680e6f1b7472e43859349abd144c291ca274f77053ec68cab6c022"></a>ssNone&#160;</td><td class="fielddoc"><p>no scatter symbols are drawn (e.g. in <a class="el" href="class_q_c_p_graph.html" title="A plottable representing a graph in a plot. ">QCPGraph</a>, data only represented with lines) </p>
</td></tr>
<tr><td class="fieldname"><a id="adb31525af6b680e6f1b7472e43859349a06e15a735b79093a1d999c0374fa3aa1"></a>ssDot&#160;</td><td class="fielddoc"><p>{ssDot.png} a single pixel (use <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a281fe1434696dcbab3aa6b9ccfbb09e9">ssDisc</a> or <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a7c92a110880d0ef2170dff3a5b4f7779">ssCircle</a> if you want a round shape with a certain radius) </p>
</td></tr>
<tr><td class="fieldname"><a id="adb31525af6b680e6f1b7472e43859349a9eacd60f059dc3ef71bf249f515a6fe4"></a>ssCross&#160;</td><td class="fielddoc"><p>{ssCross.png} a cross </p>
</td></tr>
<tr><td class="fieldname"><a id="adb31525af6b680e6f1b7472e43859349a2d7f1d3c1a148b9d9d17f2fd9cae5eb7"></a>ssPlus&#160;</td><td class="fielddoc"><p>{ssPlus.png} a plus </p>
</td></tr>
<tr><td class="fieldname"><a id="adb31525af6b680e6f1b7472e43859349a7c92a110880d0ef2170dff3a5b4f7779"></a>ssCircle&#160;</td><td class="fielddoc"><p>{ssCircle.png} a circle </p>
</td></tr>
<tr><td class="fieldname"><a id="adb31525af6b680e6f1b7472e43859349a281fe1434696dcbab3aa6b9ccfbb09e9"></a>ssDisc&#160;</td><td class="fielddoc"><p>{ssDisc.png} a circle which is filled with the pen's color (not the brush as with ssCircle) </p>
</td></tr>
<tr><td class="fieldname"><a id="adb31525af6b680e6f1b7472e43859349a279e48703ddc9f1cf4a61d3e2817ab3c"></a>ssSquare&#160;</td><td class="fielddoc"><p>{ssSquare.png} a square </p>
</td></tr>
<tr><td class="fieldname"><a id="adb31525af6b680e6f1b7472e43859349a4fc5929df1b2dad0a3cb2ef2c8b6e633"></a>ssDiamond&#160;</td><td class="fielddoc"><p>{ssDiamond.png} a diamond </p>
</td></tr>
<tr><td class="fieldname"><a id="adb31525af6b680e6f1b7472e43859349a6047a2d64e41f1d6ce54445d595d442f"></a>ssStar&#160;</td><td class="fielddoc"><p>{ssStar.png} a star with eight arms, i.e. a combination of cross and plus </p>
</td></tr>
<tr><td class="fieldname"><a id="adb31525af6b680e6f1b7472e43859349a74a8d4eff1d97b57c53a60d0003453c3"></a>ssTriangle&#160;</td><td class="fielddoc"><p>{ssTriangle.png} an equilateral triangle, standing on baseline </p>
</td></tr>
<tr><td class="fieldname"><a id="adb31525af6b680e6f1b7472e43859349a6156274d21d8b4115197567d3ea2d9a8"></a>ssTriangleInverted&#160;</td><td class="fielddoc"><p>{ssTriangleInverted.png} an equilateral triangle, standing on corner </p>
</td></tr>
<tr><td class="fieldname"><a id="adb31525af6b680e6f1b7472e43859349a7081310936c200c6c78e34c172f72d07"></a>ssCrossSquare&#160;</td><td class="fielddoc"><p>{ssCrossSquare.png} a square with a cross inside </p>
</td></tr>
<tr><td class="fieldname"><a id="adb31525af6b680e6f1b7472e43859349a5aa8e9db545e5404482fec774768ee25"></a>ssPlusSquare&#160;</td><td class="fielddoc"><p>{ssPlusSquare.png} a square with a plus inside </p>
</td></tr>
<tr><td class="fieldname"><a id="adb31525af6b680e6f1b7472e43859349a524613ba5d1c4eaa1541d74cf339d283"></a>ssCrossCircle&#160;</td><td class="fielddoc"><p>{ssCrossCircle.png} a circle with a cross inside </p>
</td></tr>
<tr><td class="fieldname"><a id="adb31525af6b680e6f1b7472e43859349a6fa151d01f1694c9ff9922da686dc535"></a>ssPlusCircle&#160;</td><td class="fielddoc"><p>{ssPlusCircle.png} a circle with a plus inside </p>
</td></tr>
<tr><td class="fieldname"><a id="adb31525af6b680e6f1b7472e43859349ada3b2988ece38c121922a4b5007eb08d"></a>ssPeace&#160;</td><td class="fielddoc"><p>{ssPeace.png} a circle, with one vertical and two downward diagonal lines </p>
</td></tr>
<tr><td class="fieldname"><a id="adb31525af6b680e6f1b7472e43859349a8718b849ca7c307b07b8e091efb0c31e"></a>ssPixmap&#160;</td><td class="fielddoc"><p>a custom pixmap specified by <a class="el" href="class_q_c_p_scatter_style.html#a5fb611d46acfac520d7b89a1c71d9246">setPixmap</a>, centered on the data point coordinates </p>
</td></tr>
<tr><td class="fieldname"><a id="adb31525af6b680e6f1b7472e43859349a15d9bcfd9de94edda949006529f9219d"></a>ssCustom&#160;</td><td class="fielddoc"><p>custom painter operations are performed per scatter (As QPainterPath, see <a class="el" href="class_q_c_p_scatter_style.html#a96a3e949f90b2afe5677ca9412a12a1e">setCustomPath</a>) </p>
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a8836018d9ad83ccd8870de8315c1be73"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8836018d9ad83ccd8870de8315c1be73">&#9670;&nbsp;</a></span>QCPScatterStyle() <span class="overload">[1/7]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QCPScatterStyle::QCPScatterStyle </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Creates a new <a class="el" href="class_q_c_p_scatter_style.html" title="Represents the visual appearance of scatter points. ">QCPScatterStyle</a> instance with size set to 6. No shape, pen or brush is defined.</p>
<p>Since the pen is undefined (<a class="el" href="class_q_c_p_scatter_style.html#a47077eb6450fe9a788f833e4ec1b1d5a">isPenDefined</a> returns false), the scatter color will be inherited from the plottable that uses this scatter style. </p>

</div>
</div>
<a id="a003d92f74f4561eda111862eadd62f28"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a003d92f74f4561eda111862eadd62f28">&#9670;&nbsp;</a></span>QCPScatterStyle() <span class="overload">[2/7]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QCPScatterStyle::QCPScatterStyle </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349">ScatterShape</a>&#160;</td>
          <td class="paramname"><em>shape</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>size</em> = <code>6</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Creates a new <a class="el" href="class_q_c_p_scatter_style.html" title="Represents the visual appearance of scatter points. ">QCPScatterStyle</a> instance with shape set to <em>shape</em> and size to <em>size</em>. No pen or brush is defined.</p>
<p>Since the pen is undefined (<a class="el" href="class_q_c_p_scatter_style.html#a47077eb6450fe9a788f833e4ec1b1d5a">isPenDefined</a> returns false), the scatter color will be inherited from the plottable that uses this scatter style. </p>

</div>
</div>
<a id="afa059da858c864c7e05871dc602d7eab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afa059da858c864c7e05871dc602d7eab">&#9670;&nbsp;</a></span>QCPScatterStyle() <span class="overload">[3/7]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QCPScatterStyle::QCPScatterStyle </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349">ScatterShape</a>&#160;</td>
          <td class="paramname"><em>shape</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QColor &amp;&#160;</td>
          <td class="paramname"><em>color</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Creates a new <a class="el" href="class_q_c_p_scatter_style.html" title="Represents the visual appearance of scatter points. ">QCPScatterStyle</a> instance with shape set to <em>shape</em>, the pen color set to <em>color</em>, and size to <em>size</em>. No brush is defined, i.e. the scatter point will not be filled. </p>

</div>
</div>
<a id="a6e1b64f12cac7f07af180ae4316fd38d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6e1b64f12cac7f07af180ae4316fd38d">&#9670;&nbsp;</a></span>QCPScatterStyle() <span class="overload">[4/7]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QCPScatterStyle::QCPScatterStyle </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349">ScatterShape</a>&#160;</td>
          <td class="paramname"><em>shape</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QColor &amp;&#160;</td>
          <td class="paramname"><em>color</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QColor &amp;&#160;</td>
          <td class="paramname"><em>fill</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Creates a new <a class="el" href="class_q_c_p_scatter_style.html" title="Represents the visual appearance of scatter points. ">QCPScatterStyle</a> instance with shape set to <em>shape</em>, the pen color set to <em>color</em>, the brush color to <em>fill</em> (with a solid pattern), and size to <em>size</em>. </p>

</div>
</div>
<a id="a85acc4941d7e5c9bca5fa51377a77f49"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a85acc4941d7e5c9bca5fa51377a77f49">&#9670;&nbsp;</a></span>QCPScatterStyle() <span class="overload">[5/7]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QCPScatterStyle::QCPScatterStyle </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349">ScatterShape</a>&#160;</td>
          <td class="paramname"><em>shape</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QPen &amp;&#160;</td>
          <td class="paramname"><em>pen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QBrush &amp;&#160;</td>
          <td class="paramname"><em>brush</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Creates a new <a class="el" href="class_q_c_p_scatter_style.html" title="Represents the visual appearance of scatter points. ">QCPScatterStyle</a> instance with shape set to <em>shape</em>, the pen set to <em>pen</em>, the brush to <em>brush</em>, and size to <em>size</em>.</p>
<dl class="section warning"><dt>Warning</dt><dd>In some cases it might be tempting to directly use a pen style like <code>Qt::NoPen</code> as <em>pen</em> and a color like <code>Qt::blue</code> as <em>brush</em>. Notice however, that the corresponding call<br />
<code><a class="el" href="class_q_c_p_scatter_style.html" title="Represents the visual appearance of scatter points. ">QCPScatterStyle(QCPScatterShape::ssCircle, Qt::NoPen, Qt::blue, 5)</a></code><br />
doesn't necessarily lead C++ to use this constructor in some cases, but might mistake <code>Qt::NoPen</code> for a QColor and use the <a class="el" href="class_q_c_p_scatter_style.html#a6e1b64f12cac7f07af180ae4316fd38d">QCPScatterStyle(ScatterShape shape, const QColor &amp;color, const QColor &amp;fill, double size)</a> constructor instead (which will lead to an unexpected look of the scatter points). To prevent this, be more explicit with the parameter types. For example, use <code>QBrush(Qt::blue)</code> instead of just <code>Qt::blue</code>, to clearly point out to the compiler that this constructor is wanted. </dd></dl>

</div>
</div>
<a id="a63962094587a4c2258435aa7933996cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a63962094587a4c2258435aa7933996cc">&#9670;&nbsp;</a></span>QCPScatterStyle() <span class="overload">[6/7]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QCPScatterStyle::QCPScatterStyle </td>
          <td>(</td>
          <td class="paramtype">const QPixmap &amp;&#160;</td>
          <td class="paramname"><em>pixmap</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Creates a new <a class="el" href="class_q_c_p_scatter_style.html" title="Represents the visual appearance of scatter points. ">QCPScatterStyle</a> instance which will show the specified <em>pixmap</em>. The scatter shape is set to <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a8718b849ca7c307b07b8e091efb0c31e">ssPixmap</a>. </p>

</div>
</div>
<a id="a879c30647683b3cfbde2afecea815e6f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a879c30647683b3cfbde2afecea815e6f">&#9670;&nbsp;</a></span>QCPScatterStyle() <span class="overload">[7/7]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QCPScatterStyle::QCPScatterStyle </td>
          <td>(</td>
          <td class="paramtype">const QPainterPath &amp;&#160;</td>
          <td class="paramname"><em>customPath</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QPen &amp;&#160;</td>
          <td class="paramname"><em>pen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QBrush &amp;&#160;</td>
          <td class="paramname"><em>brush</em> = <code>Qt::NoBrush</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>size</em> = <code>6</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Creates a new <a class="el" href="class_q_c_p_scatter_style.html" title="Represents the visual appearance of scatter points. ">QCPScatterStyle</a> instance with a custom shape that is defined via <em>customPath</em>. The scatter shape is set to <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a15d9bcfd9de94edda949006529f9219d">ssCustom</a>.</p>
<p>The custom shape line will be drawn with <em>pen</em> and filled with <em>brush</em>. The size has a slightly different meaning than for built-in scatter points: The custom path will be drawn scaled by a factor of <em>size/6.0</em>. Since the default <em>size</em> is 6, the custom path will appear at a its natural size by default. To double the size of the path for example, set <em>size</em> to 12. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="afd8044ece445300499ca0dc164821e0f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afd8044ece445300499ca0dc164821e0f">&#9670;&nbsp;</a></span>applyTo()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QCPScatterStyle::applyTo </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_q_c_p_painter.html">QCPPainter</a> *&#160;</td>
          <td class="paramname"><em>painter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QPen &amp;&#160;</td>
          <td class="paramname"><em>defaultPen</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Applies the pen and the brush of this scatter style to <em>painter</em>. If this scatter style has an undefined pen (<a class="el" href="class_q_c_p_scatter_style.html#a47077eb6450fe9a788f833e4ec1b1d5a">isPenDefined</a>), sets the pen of <em>painter</em> to <em>defaultPen</em> instead.</p>
<p>This function is used by plottables (or any class that wants to draw scatters) just before a number of scatters with this style shall be drawn with the <em>painter</em>.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_c_p_scatter_style.html#a2b3964961b6cbfbc87be6e1e3a6f3c96">drawShape</a> </dd></dl>

</div>
</div>
<a id="a2b3964961b6cbfbc87be6e1e3a6f3c96"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2b3964961b6cbfbc87be6e1e3a6f3c96">&#9670;&nbsp;</a></span>drawShape() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QCPScatterStyle::drawShape </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_q_c_p_painter.html">QCPPainter</a> *&#160;</td>
          <td class="paramname"><em>painter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QPointF&#160;</td>
          <td class="paramname"><em>pos</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Draws the scatter shape with <em>painter</em> at position <em>pos</em>.</p>
<p>This function does not modify the pen or the brush on the painter, as <a class="el" href="class_q_c_p_scatter_style.html#afd8044ece445300499ca0dc164821e0f">applyTo</a> is meant to be called before scatter points are drawn with <a class="el" href="class_q_c_p_scatter_style.html#a2b3964961b6cbfbc87be6e1e3a6f3c96">drawShape</a>.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_c_p_scatter_style.html#afd8044ece445300499ca0dc164821e0f">applyTo</a> </dd></dl>

</div>
</div>
<a id="a95c297b114c77c22428ef40f54620ddf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a95c297b114c77c22428ef40f54620ddf">&#9670;&nbsp;</a></span>drawShape() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QCPScatterStyle::drawShape </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_q_c_p_painter.html">QCPPainter</a> *&#160;</td>
          <td class="paramname"><em>painter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Draws the scatter shape with <em>painter</em> at position <em>x</em> and <em>y</em>. </p>

</div>
</div>
<a id="a72db6bcb1e1abd6e53c1315dd3dea7e4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a72db6bcb1e1abd6e53c1315dd3dea7e4">&#9670;&nbsp;</a></span>isNone()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool QCPScatterStyle::isNone </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns whether the scatter shape is <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349abd144c291ca274f77053ec68cab6c022">ssNone</a>.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_c_p_scatter_style.html#a7c641c4d4c6d29cb705d3887cfce91c1">setShape</a> </dd></dl>

</div>
</div>
<a id="a47077eb6450fe9a788f833e4ec1b1d5a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a47077eb6450fe9a788f833e4ec1b1d5a">&#9670;&nbsp;</a></span>isPenDefined()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool QCPScatterStyle::isPenDefined </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns whether a pen has been defined for this scatter style.</p>
<p>The pen is undefined if a constructor is called that does not carry <em>pen</em> as parameter. Those are <a class="el" href="class_q_c_p_scatter_style.html#a8836018d9ad83ccd8870de8315c1be73">QCPScatterStyle()</a> and <a class="el" href="class_q_c_p_scatter_style.html#a003d92f74f4561eda111862eadd62f28">QCPScatterStyle(ScatterShape shape, double size)</a>. If the pen is left undefined, the scatter color will be inherited from the plottable that uses this scatter style.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_c_p_scatter_style.html#a761f1f229cc0ca4703e1e2b89f6dd1ba">setPen</a> </dd></dl>

</div>
</div>
<a id="a74d692aaeb8d4b36d6f7d510e44264b1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a74d692aaeb8d4b36d6f7d510e44264b1">&#9670;&nbsp;</a></span>setBrush()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QCPScatterStyle::setBrush </td>
          <td>(</td>
          <td class="paramtype">const QBrush &amp;&#160;</td>
          <td class="paramname"><em>brush</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets the brush that will be used to fill scatter points to <em>brush</em>. Note that not all scatter shapes have fillable areas. For example, <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a2d7f1d3c1a148b9d9d17f2fd9cae5eb7">ssPlus</a> does not while <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a7c92a110880d0ef2170dff3a5b4f7779">ssCircle</a> does.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_c_p_scatter_style.html#a761f1f229cc0ca4703e1e2b89f6dd1ba">setPen</a> </dd></dl>

</div>
</div>
<a id="a96a3e949f90b2afe5677ca9412a12a1e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a96a3e949f90b2afe5677ca9412a12a1e">&#9670;&nbsp;</a></span>setCustomPath()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QCPScatterStyle::setCustomPath </td>
          <td>(</td>
          <td class="paramtype">const QPainterPath &amp;&#160;</td>
          <td class="paramname"><em>customPath</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets the custom shape that will be drawn as scatter point to <em>customPath</em>.</p>
<p>The scatter shape is automatically set to <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a15d9bcfd9de94edda949006529f9219d">ssCustom</a>. </p>

</div>
</div>
<a id="a761f1f229cc0ca4703e1e2b89f6dd1ba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a761f1f229cc0ca4703e1e2b89f6dd1ba">&#9670;&nbsp;</a></span>setPen()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QCPScatterStyle::setPen </td>
          <td>(</td>
          <td class="paramtype">const QPen &amp;&#160;</td>
          <td class="paramname"><em>pen</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets the pen that will be used to draw scatter points to <em>pen</em>.</p>
<p>If the pen was previously undefined (see <a class="el" href="class_q_c_p_scatter_style.html#a47077eb6450fe9a788f833e4ec1b1d5a">isPenDefined</a>), the pen is considered defined after a call to this function, even if <em>pen</em> is <code>Qt::NoPen</code>.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_c_p_scatter_style.html#a74d692aaeb8d4b36d6f7d510e44264b1">setBrush</a> </dd></dl>

</div>
</div>
<a id="a5fb611d46acfac520d7b89a1c71d9246"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5fb611d46acfac520d7b89a1c71d9246">&#9670;&nbsp;</a></span>setPixmap()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QCPScatterStyle::setPixmap </td>
          <td>(</td>
          <td class="paramtype">const QPixmap &amp;&#160;</td>
          <td class="paramname"><em>pixmap</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets the pixmap that will be drawn as scatter point to <em>pixmap</em>.</p>
<p>Note that <a class="el" href="class_q_c_p_scatter_style.html#aaefdd031052892c4136129db68596e0f">setSize</a> does not influence the appearance of the pixmap.</p>
<p>The scatter shape is automatically set to <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a8718b849ca7c307b07b8e091efb0c31e">ssPixmap</a>. </p>

</div>
</div>
<a id="a7c641c4d4c6d29cb705d3887cfce91c1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7c641c4d4c6d29cb705d3887cfce91c1">&#9670;&nbsp;</a></span>setShape()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QCPScatterStyle::setShape </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349">QCPScatterStyle::ScatterShape</a>&#160;</td>
          <td class="paramname"><em>shape</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets the shape to <em>shape</em>.</p>
<p>Note that the calls <a class="el" href="class_q_c_p_scatter_style.html#a5fb611d46acfac520d7b89a1c71d9246">setPixmap</a> and <a class="el" href="class_q_c_p_scatter_style.html#a96a3e949f90b2afe5677ca9412a12a1e">setCustomPath</a> automatically set the shape to <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a8718b849ca7c307b07b8e091efb0c31e">ssPixmap</a> and <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a15d9bcfd9de94edda949006529f9219d">ssCustom</a>, respectively.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_c_p_scatter_style.html#aaefdd031052892c4136129db68596e0f">setSize</a> </dd></dl>

</div>
</div>
<a id="aaefdd031052892c4136129db68596e0f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaefdd031052892c4136129db68596e0f">&#9670;&nbsp;</a></span>setSize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QCPScatterStyle::setSize </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>size</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets the size (pixel diameter) of the drawn scatter points to <em>size</em>.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_c_p_scatter_style.html#a7c641c4d4c6d29cb705d3887cfce91c1">setShape</a> </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>R:/Develop/a0-develop/LibQQt/src/charts/qcustomplot/<a class="el" href="qcustomplot_8h_source.html">qcustomplot.h</a></li>
<li>R:/Develop/a0-develop/LibQQt/src/charts/qcustomplot/<a class="el" href="qcustomplot_8cpp.html">qcustomplot.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
